package com.hxkj.controller;

import com.hxkj.client.service.TestClient;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * created by kezhijie on 2018/8/30 14:53.
 * email to kezhijie@hxoss.com
 */
@RestController
@RequestMapping("api")
public class TestController {

    @Autowired
    private TestClient testClient;

    @GetMapping("get")
    public String get(){
        return testClient.apiGet();
    }
}
